<div class="contents">
  <ol class="breadcrumb">
    <li><a href="#/index/panel">首页</a></li>
    <li><a href="#/fa/list">理财师列表</a></li>
    <li class="active">斯巴达统计</li>
  </ol>
  <form class="form-inline search-box" role="form" ng-submit="search()" novalidate> 
    <div class="form-group">
      <input type="text" class="form-control" placeholder="登录名" ng-model="searchMap.uLoginName">
    </div> 
    <div class="form-group">
      <input type="text" class="form-control" placeholder="昵称" ng-model="searchMap.uName">
    </div> 
    <div class="form-group">
      <input type="text" class="form-control" placeholder="公司名称" ng-model="searchMap.uCompanyName" style="width:140px;">
    </div> 
    <div class="form-group">
      <input type="text" class="form-control" placeholder="公司地址" ng-model="searchMap.uCompanyADD" style="width:140px;">
    </div>
    
    <div class="form-group">
      <select class="form-control" placeholder="是否绑定微信" ng-model="searchMap.wechatFlag" ng-options="m.value as m.text for m in dictMap.wechatFlagModel" ><option value="">--是否绑定微信--</option></select> 
    </div> 
    
    <div class="form-group">
      <input type="date" class="form-control" placeholder="注册开始日期,如2015-01-01" ng-model="searchMap.createDateStart" maxlength="10">
    </div> 

    <div class="form-group">
      <input type="date" class="form-control" placeholder="注册结束日期,如2015-01-01" ng-model="searchMap.createDateEnd" maxlength="10">
    </div> 


    <button type="submit" class="btn btn-primary">查询</button>
    <button type="button" class="btn btn-primary" ng-click="export()">导出CSV</button>
  </form>
  <table class="table table-striped table-hover">
    <thead>
      <tr>
        <th width="150" ng-click="orderby('createDate')" class="cur-p">注册时间<i class="orderby-icons-s" ng-class="{'orderby-asc':orderbyFreqMap['createDate'][orderbyPositionMap['createDate']] == 'asc','orderby-desc':orderbyFreqMap['createDate'][orderbyPositionMap['createDate']] == 'desc'}"></i></th>
        <th width="100">登录名</th>
        <th width="150">昵称</th>
        <th width="">公司名称</th>
        <th width="300">公司地址</th>
        <th width="100">真实名称</th>
        <th width="110" ng-click="orderby('authPassCount')" class="cur-p">邀请通过总人数<i class="orderby-icons" ng-class="{'orderby-asc':orderbyFreqMap['authPassCount'][orderbyPositionMap['authPassCount']] == 'asc','orderby-desc':orderbyFreqMap['authPassCount'][orderbyPositionMap['authPassCount']] == 'desc'}"></i></th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="fa in fas">
        <td>{{fa.createDate | date:'yyyy-MM-dd HH:mm:ss'}}</td>
        <td>{{fa.uLoginName}}<div class="wx-icon" title="已绑定微信" ng-if="fa.wechatFlag"></div></td>
        <td>{{fa.uName}}</td>
        <td>{{fa.uCompanyName}}</td>
        <td>{{fa.uCompanyADD}}</td>
        <td>{{fa.uRealName}}</td>
        <td><a ng-href="#/fa/sbddetail?id={{fa.id}}" style="padding:0 8px;">{{fa.authPassCount}}</a></td>
      </tr>
    </tbody>
  </table>

	<div class="pager-box" ng-include src="'tpl/public/pager.html'" ng-show="fas.length > 0"></div>
</div>
 
